home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / hard / hack / sdii.lzh / sync / sdii.txt < prev   
Encoding:
Text File  |  1998-09-15  |  2.9 KB  |  87 lines

  1.  Syncdoubler II description                      05.09.98
  2.  
  3.  
  4.  In 1996 I changed my multisync monitor to a VGA monitor. I thought
  5.  this is no problem because I didn't use the PAL Hires mode.
  6.  
  7.  But:
  8.  
  9.  - many programs open Hires screens without a question 
  10.  - Hires screen if errors in startup sequence
  11.  - bootmenu in Hires
  12.  - etc.
  13.  
  14.  Hires screen on a VGA monitor? This won't work!
  15.  
  16.  Where's the difference between a Hires mode and a VGA mode ? 
  17.  In Hires one line on screen is 64 us (micro seconds) long, the
  18.  horizontal frequenzy is (64 us)^-1 = 15625 Hz.
  19.  
  20.  VGA Monitors begins with the double frequency, 31250 Hz, one
  21.  VGA line is 32 us long or shorter.
  22.  
  23.  
  24.  My idea was to add one horizonal sync every Hires line. This should be 
  25.  enough for the monitor to sync correctly.
  26.  
  27.  Because the complete Hires line is still 64 us long and the time between
  28.  two syncs is 32 us, the line is wrapped in two lines on the monitor.
  29.  
  30.   -->  Kuddelmuddel on the screen !
  31.  
  32.  So I had to blank every second line on the monitor for a correct
  33.  picture.
  34.  
  35.  
  36.  My first syncdoubler was a quick test for my idea, and it worked. I used
  37.  a dual retriggerable monostable multivibrator called 74HC123 for creating
  38.  the second necessary sync. The delay was controlled by a RC combination, I
  39.  have to say this was really no optimum.
  40.  Every second line was muted by shortening the RGB lines with 3
  41.  transistors, not gentleman like, but it works and it was quick and cheap.
  42.  
  43.  This worked but was not really usable, so I had to create a new
  44.  Syncdoubler, the Syncdoubler II.
  45.  
  46.  
  47.  The Syncdoubler II uses two logic components, one quad NAND and a PIC
  48.  microcontroller.
  49.  The microcontroller is clocked by the c1 clock from the amiga
  50.  (about 3,54 MHz), the timing of the hsync is controlled by the PIC
  51.  software. This syncdoubler allows to scroll through the amiga screen in
  52.  a resolution of 16 steps through two push buttons. The RGB signal is muted
  53.  through the PIC. (have a look on the schematic, If you don't like this
  54.  method use a RGB switch !)
  55.  
  56.  The syncdoubler II detects automatic the screen mode and doubles the sync
  57.  if Hires and put the amiga sync through if no Hires.
  58.  
  59.  Because the c1 clock is devided through 4 in the PIC and this is no
  60.  Because the c1 clock is devided by 4 in the PIC and this is no
  61.  integer multiple from the horizontal frequency I had to use a special
  62.  synchronisation between the PIC and the amiga, this is done by the NAND.
  63.  
  64.  Have a look on the source. The source is written for the 16C84, you can
  65.  assemble, simulate, emulate and program it with our Amiga PIC tools
  66.  available on my Homepage:
  67.  
  68.    http://linux.rz.fh-hannover.de/~duesterb
  69.  
  70.  or on AmiNet:
  71.  
  72.    search for APIC.
  73.  
  74.  
  75.  The syncdoubler is not a scandoubler ! a scandoubler buffers the video
  76.  in a special RAM, the syncdoubler doubles only the syncs !
  77.  
  78.  If you could not imagine how the result looks like have a look on the
  79.  three screenshots from my monitor made with a video camera.
  80.  
  81.  Good luck,
  82.  
  83.  
  84. Dirk
  85.  
  86.  
  87.